package com.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;


@JsonIgnoreProperties(ignoreUnknown = true)
public class IssueDTO {

	@JsonProperty
	private String id;
	
	@JsonProperty
	private String self;

	@JsonProperty
	private String key;

	@JsonProperty
	private FieldsDTO fields;
	
	//this field will be filled in Service method, when you will fetch issue from Jira
	
	private WatchersDTO watchers;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public FieldsDTO getFields() {
		return fields;
	}

	public void setFields(FieldsDTO fields) {
		this.fields = fields;
	}

	public String getSelf() {
		return self;
	}

	public void setSelf(String self) {
		this.self = self;
	}

	public WatchersDTO getWatchers() {
		return watchers;
	}

	public void setWatchers(WatchersDTO watchers) {
		this.watchers = watchers;
	}



}
